const Sms = class Sms {
  constructor(props) {
    this.size = props.size;
    this.page = props.page;
    this.templateName = props.templateName
    this.channelName = props.channelName
  }
  getState() {
    let x = {}

    //模板名称
    if (this.templateName) {
      x.templateName = this.templateName
    }
    //通道名称
    if (this.channelName) {
      x.channelName = this.channelName
    }
    x.size = this.size;
    x.page = this.page;
    return x
  }
}

export default Sms
